package com.yqy.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @author yiqianyi
 * @date 2022/3/18 16:16
 */
@Data
@TableName(value = "t_student_info")
public class StudentInfo {
    @TableId(value = "id",type = IdType.AUTO)
    private int id;
    @TableField(value = "account")
    @Excel(name = "账号",width = 15.0)
    private String account;
    @TableField(value = "username")
    @Excel(name = "姓名")
    private String username;
    @TableField(value = "studentNo")
    @Excel(name = "学号",width = 15.0)
    private String studentNo;
    @TableField(value = "sex")
    @Excel(name = "性别")
    private String sex;
    @TableField(value = "isClass")
    @Excel(name = "就读班级")
    private String isClass;
    @TableField(value = "phone")
    @Excel(name = "联系方式",width = 15.0)
    private String phone;
    @TableField(value = "address")
    @Excel(name = "籍贯",width = 25.0)
    private String address;
    @TableField(value = "cardId")
    @Excel(name = "身份证号码",width = 25.0)
    private String cardId;
    @TableField(value = "politicalOutlook")
    @Excel(name = "政治面貌")
    private String politicalOutlook;
    @TableField(value = "remark")
    @Excel(name = "所获荣誉",width = 25.0)
    private String remark;
    @TableField(value = "auth")
    private int auth;
}
